package com.livepan.main.controller.viewobject;

import org.apache.catalina.LifecycleState;

import java.util.List;

public class ContestVO {
    private Integer contestId;

    private String title;

    private Long startTime;

    private Long endTime;

    private Byte type;

    private String ext;

    private Short status;

    //打开比赛的时间
    private Long openTime;

    private Long closeTime;

    public Long getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Long closeTime) {
        this.closeTime = closeTime;
    }

    public Long getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Long openTime) {
        this.openTime = openTime;
    }

    private List<ContestProblemVO> contestProblemList;

    public void setContestProblemList(List<ContestProblemVO> contestProblemList) {
        this.contestProblemList = contestProblemList;
    }

    public List<ContestProblemVO> getContestProblemList() {
        return contestProblemList;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Integer getContestId() {
        return contestId;
    }

    public void setContestId(Integer contestId) {
        this.contestId = contestId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext == null ? null : ext.trim();
    }
}
